/* --------------------------------------------------------------------------
                                Primary Window
   -------------------------------------------------------------------------- */

/* Plain text */
.ace-calm-dark {
  background: linear-gradient(to right, #021318, #045A6D);
  color: #657B83;
}

/* --------------------------------------------------------------------------
                                  All Cells
   -------------------------------------------------------------------------- */

.ace-calm-dark .ace_indent-guide {
  background: none;
}

/* --------------------------------------------------------------------------
                                  Text Cells
   -------------------------------------------------------------------------- */

.text-cell {
  font-size: 22px;
}

.ace-calm-dark b,
.ace-calm-dark u,
.ace-calm-dark .title {
  color: #FFEEDD;
}

.ace-calm-dark i {
  color: #006600;
}

.ace-calm-dark code {
  color: #B2A080;
}

.ace-calm-dark a {
  color: #D2DFE7;
}

.ace-calm-dark h1 {
  background: linear-gradient(to bottom, #D2DFE7, #454545);
  color: #004040;
  text-transform: uppercase;
}

.ace-calm-dark h2 {
  background: linear-gradient(to top, #000000, #045A6D);
  color: #D2DFE7;
}

.ace-calm-dark h1,
.ace-calm-dark h2 {
  text-align: center;
  padding: 7px;
  border-radius: 3px;
}
.ace-calm-dark h3 {
  color: #999999;
}

.ace-calm-dark li {
  color: #0E7172;
}

.ace-calm-dark hr {
  background-color: #D2DFE7;
}

/* --------------------------------------------------------------------------
                                  Code Cells
   -------------------------------------------------------------------------- */

.code-cell {
  font-size: 17px;
}

/* Editor */
.ace-calm-dark .ace-tm {
  background-color: #00202A;
  color: #D2DFE7;
}

.ace-calm-dark .ace_gutter {
  background: linear-gradient(to right, #00202A, #000000);
  color: #004040;
  text-align: center;
}

/* Documentation */
.ace-calm-dark .ace_comment,
.ace-calm-dark .ace_comment.ace_doc,            /* JavaDoc */
.ace-calm-dark .ace_comment.ace_doc.ace_tag {   /* JavaDoc tags */
  color: #657B83;
  font-style: italic;
}

.ace-calm-dark .ace_comment.ace_doc.ace_tag {   /* JavaDoc Tags */
  font-weight: bold;
}

/* Operators */
.ace-calm-dark .ace_keyword.ace_operator {
  color: #D2DFE7;
}

/* Keywords */
.ace-calm-dark .ace_keyword,
.ace-calm-dark .ace_storage.ace_modifier,         /* Access modifiers */
.ace-calm-dark .ace_variable.ace_parameter,       /* Swfit @IB... */
.ace-calm-dark .ace_meta.ace_tag.ace_punctuation, /* HTML tags */
.ace-calm-dark .ace_meta.ace_tag.ace_tag-name {   /* HTML tagnames */
  color: #0E7172;
  font-weight: bold;
}

.ace-calm-dark .ace_meta.ace_tag.ace_punctuation, /* HTML tags */
.ace-calm-dark .ace_meta.ace_tag.ace_tag-name {   /* HTML tagnames */
  font-weight: normal;
}

/* Data types */
.ace-calm-dark .ace_storage.ace_type,
.ace-calm-dark .ace_variable  {         /* CSS class names */
  color: #006600;
  font-weight: bold;
}

/* Property names */
.ace-calm-dark .ace_entity.ace_other.ace_attribute-name,  /* HTML properties */
.ace-calm-dark .ace_support.ace_type,                     /* CSS properties */
.ace-calm-dark .ace_meta.ace_tag,                         /* Variables */
.ace-calm-dark .ace_identifier {                          /* Variables */
  color: #045A6D;
}

/* Other names */
.ace-calm-dark .ace_support.ace_function,             /* Function definition */
.ace-calm-dark .ace_support.ace_function.ace_firebug, /* Function calls */
.ace-calm-dark .ace_entity.ace_name.ace_function,     /* Function calls */
.ace-calm-dark .ace_constant,                         /* HTML selectors */
.ace-calm-dark .ace_text.ace_xml {                    /* HTML plain text */
  color: Silver;
}

.ace-calm-dark .ace_constant {                      /* HTML selectors */
  font-weight: bold;
}

/* Values */
.ace-calm-dark .ace_support.ace_constant, /* CSS */
.ace-calm-dark .ace_string,
.ace-calm-dark .ace_constant.ace_numeric,
.ace-calm-dark .ace_constant.ace_other {
  color: #B2A080;
  font-weight: normal;
}

/* Constants */
.ace-calm-dark .ace_constant.ace_language,
.ace-calm-dark .ace_variable.ace_language {
  color: #FFEEDD;
}

.ace-calm-dark .ace_error.ace_invalid,
.ace-calm-dark .ace_invalid.ace_illegal {
  color: #D2DFE7;
  background-color: #800000;
}

.ace-calm-dark .ace_invalid.ace_deprecated {
  color: #D2DFE7;
  background-color: #FF8000;
}

/* --------------------------------------------------------------------------
                                Markdown Cells
   -------------------------------------------------------------------------- */

.markdown-cell {
  font-size: 22px;
}

.ace-calm-dark strong {
  color: #FFEEDD;
}

.ace-calm-dark em   {
  color: #006600;
}

/* Scratched out text */
.ace-calm-dark s {
  color: #FF8000;
}

.ace-calm-dark h4,
.ace-calm-dark h5,
.ace-calm-dark h6 {
  color: #999999;
}

.ace-calm-dark blockquote {
  color: #4C886B;
}

.ace-calm-dark table {
  width: 100%;
}

.ace-calm-dark th {
  background: linear-gradient(to top, #000000, #00202A);
  color: #D2DFE7;
  border: 2px solid #657B83;
}

.ace-calm-dark tr {
  background-color: #00202A;
  color: #0E7172;
  border: 0.5px solid #999;
}

.ace-calm-dark tr:nth-child(even) {
  background-color: #021318;
}

.ace-calm-dark td {
  border: 0.5px solid #999;
}

.ace-calm-dark tr:hover {
  background-color: #B2A080;
  color: #D2DFE7;
  border: 3px solid #045A6D;
}

.ace-calm-dark td:hover {
  border: 3px solid #D2DFE7;
}

/* --------------------------------------------------------------------------
                                    LaTeX Cells
   -------------------------------------------------------------------------- */

.latex-cell {
  font-size: 22px;
}

.ace-calm-dark .mo,     /* Operators */
.ace-calm-dark .mfrac  /* Punctuation */ {
 color: #D2DFE7;
}

/* Symbols */
.ace-calm-dark .mi {
  color: #0E7172;
  font-weight: bold;
}

/* Numbers */
.ace-calm-dark .mn {
  color: #B2A080;
}

/* --------------------------------------------------------------------------
                                  Diagram Cells
   -------------------------------------------------------------------------- */

.ace-calm-dark svg {
  background: radial-gradient(#045A6D, #000000);
  display: block;
  margin: auto;
  padding: 8px;
  border: 0.5px solid #454545;
}

.ace-calm-dark rect,  /* Sequence boxes */
.ace-calm-dark #st,   /* Start terminals */
.ace-calm-dark #e {   /* Ened terminals */
  fill: #0E7172;
  stroke: #D2DFE7;
  stroke-width: 2;
}

/* Non-terminal shapes */
.ace-calm-dark rect {
  stroke: #000000;
}

/* Operation rectangles */
.ace-calm-dark #op1,
.ace-calm-dark #sub1 {  /* Subroutine i/o ends */
  fill: #999999;
}

/* Subroutine rectangle */
.ace-calm-dark #sub1i {
  fill: #006600;
}

/* Conditional diamonds */
.ace-calm-dark #cond {
  fill: #045A6D;
  stroke: #000000;
  stroke-width: 2;
}

/* i/o parallelograms */
.ace-calm-dark #io {
  fill: #B2A080;
  stroke: #000000;
  stroke-width: 2;
}

/* Interior shape text */
.ace-calm-dark text,
.ace-calm-dark #iot {
  fill: #D2DFE7
}

/* Exterior shape text */
.ace-calm-dark path + text {
  fill: #FFEEDD;
}

/* Path lines */
.ace-calm-dark path {
  stroke: #D2DFE7;
  stroke-width: 1.5;
}
